﻿using EntityFramework.Entity.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YouTravel.DomainModels;

namespace Repositories.Configuration
{
    public class SpecialCapitalMap : EntityConfigurationBase<SpecialCapital>
    {
        public SpecialCapitalMap()
        {
            this.Property(p => p.InvoiceCollect).HasPrecision(18, 2);
            this.Property(p => p.InvoiceSend).HasPrecision(18, 2);
            this.Property(p => p.Payment).HasPrecision(18, 2);
            this.Property(p => p.Profit).HasPrecision(18, 2);
            this.Property(p => p.WithHold).HasPrecision(18, 2);
            this.Property(p => p.Balance).HasPrecision(18, 2);
            this.Property(p => p.Gathering).HasPrecision(18, 2);

           

        }
    }
}
